<template>
  <div class="footer-container">
    <div class="footer-content">
      <div class="footer-info">
        <div class="footer-logo">
          <span class="chinese-name">糯米团子の博客</span>
          <span class="english-name">nomi blog</span>
        </div>
        <div class="footer-desc">一个分享技术与生活的博客网站</div>
      </div>
      <div class="footer-links">
        <div class="footer-link-group">
          <h4 class="link-group-title">关于我</h4>
          <a href="#" class="footer-link">关于博客</a>
          <a href="#" class="footer-link">联系方式</a>
        </div>
        <div class="footer-link-group">
          <h4 class="link-group-title">内容分类</h4>
          <a href="#" class="footer-link">技术文章</a>
          <a href="#" class="footer-link">生活随笔</a>
          <a href="#" class="footer-link">资源分享</a>
        </div>
        <div class="footer-link-group">
          <h4 class="link-group-title">更多链接</h4>
          <a href="#" class="footer-link">GitHub</a>
          <a href="#" class="footer-link">B站</a>
          <a href="#" class="footer-link">微博</a>
        </div>
      </div>
    </div>
    <div class="footer-bottom">
      <div class="footer-copyright">© 2025 nomi blog. 保留所有权利.</div>
    </div>
  </div>
</template>
  
  <script>
export default {
  name: "Footer",
};
</script>
  
  <style scoped>
.footer-container {
  /* background-color: white; */
  background: rgba(255, 255, 255, 0.7); /* 白色带轻微透明度 */
  /* backdrop-filter: blur(5px); 添加毛玻璃效果 */
  box-shadow: 0 -2px 12px 0 rgba(0, 0, 0, 0.1);
  margin-top: 50px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-info {
  flex: 1;
  min-width: 200px;
  margin-bottom: 30px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.chinese-name {
  font-size: 24px;
  font-weight: bold;
  color: #303133;
}

.english-name {
  font-size: 14px;
  color: #606266;
}

.footer-desc {
  margin-top: 10px;
  color: #909399;
  max-width: 200px;
  text-align: left;
}

.footer-links {
  flex: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.footer-link-group {
  min-width: 150px;
  margin-bottom: 30px;
}

.link-group-title {
  font-size: 16px;
  font-weight: bold;
  color: #303133;
  margin-bottom: 15px;
  text-align: left;
}

.footer-link {
  display: block;
  margin-bottom: 10px;
  color: #606266;
  text-decoration: none;
  text-align: left;
  transition: color 0.3s;
}

.footer-link:hover {
  color: #ffb76b;
}

.footer-bottom {
  border-top: 1px solid #ebeef5;
  padding: 20px 0;
  text-align: center;
  color: #909399;
  font-size: 14px;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
  }

  .footer-logo {
    align-items: center;
  }

  .footer-desc {
    text-align: center;
    margin: 10px auto 0;
  }

  .link-group-title,
  .footer-link {
    text-align: center;
  }
}
</style>    